// depends on nothing
#pragma once

#define SAFE_RELEASE(p) { if ( (p) ) { (p)->Release(); (p) = 0; } }
#define SAFE_DELETE(a) if( (a) != NULL ) delete (a); (a) = NULL;

#define Pi 3.14159f

#define Rad2Deg( radian ) ((radian) * (180.0f / M_PI)) 
#define Deg2Rad( degrees ) ((degrees) * (M_PI/ 180.0f)) 
